package com.qs.sckill.service;

import com.qs.sckill.entity.User;
import com.qs.sckill.vo.LoginVo;

import javax.servlet.http.HttpServletResponse;

public interface UserService {

    User getUserByPhone(String phone);

    boolean login(HttpServletResponse response, LoginVo loginVo);

    User getByToken(HttpServletResponse response, String token);
}
